from django.db import models


class StudentModel(models.Model):
    gender_choices = (
        (0, "女"),
        (1, "男"),
    )
    graduated_choices = (
        (0, "未毕业"),
        (1, "已毕业")
    )
    username = models.CharField(max_length=20, unique=True)
    age = models.CharField(max_length=20)
    gender = models.CharField(max_length=20)
    birthday = models.CharField(max_length=20)
    phone = models.CharField(max_length=20)
    address = models.CharField(max_length=100)
    graduated = models.CharField(max_length=20)
    remarks = models.TextField(max_length=1000)